package com.lphj.datainterface.service.impl;

import com.lphj.datainterface.dao.CumDeliveryDtlDao;
import com.lphj.datainterface.entity.CumDeliveryDtl;
import com.lphj.datainterface.service.CumDeliveryDtlService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CumDeliveryDtlServiceImpl implements CumDeliveryDtlService {

    @Autowired
    CumDeliveryDtlDao cumDeliveryDtlDao;

    @Override
    public int addCumDeliveryDtl(CumDeliveryDtl cumDeliveryDtl) {
        return cumDeliveryDtlDao.AddCumDeliveryDtl(cumDeliveryDtl);
    }

    @Override
    public int changeOutQty(String paperNO) {
        return cumDeliveryDtlDao.ChangeOutQty(paperNO);
    }
}
